class Article < ActiveRecord::Base
  has_many :categories
  belongs_to :thumbnail, foreign_key: :thumbnail_id, class_name: 'Image'
end
